package com.xdap.common.pojo.dto;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.io.Serializable;


@Data
@JsonInclude(JsonInclude.Include.NON_EMPTY)
//("审批创建：三方审批相关")
public class ApprovalCreateExternalDTO implements Serializable {
    /**
     *提示审批来自哪里
     */
    @JSONField(name = "biz_name")
    private String bizName;
    /**
     * 审批定义业务类别
     */
    @JSONField(name = "biz_type")
    private String bizType;
    /**
     * 移动端发起链接
     */
    @JSONField(name = "create_link_mobile")
    private String createLinkMobile;
    /**
     * PC端发起链接
     */
    @JSONField(name = "create_link_pc")
    private String createLinkPc;
    /**
     * 审批实例、审批任务、审批抄送是否要在PC端展示
     */
    @JSONField(name = "support_pc")
    private boolean supportPc;
    /**
     * 审批实例、审批任务、审批抄送是否要在移动端展示
     */
    @JSONField(name = "support_mobile")
    private boolean supportMobile;
    /**
     * 是否支持批量已读
     */
    @JSONField(name = "support_batch_read")
    private boolean supportBatchRead;
    /**
     * 是否支持标注可读
     */
    @JSONField(name = "enable_mark_readed")
    private boolean enableMarkReaded;
    /**
     * 是否支持快速操作
     */
    @JSONField(name = "enable_quick_operate")
    private boolean enableQuickOperate;
    /**
     * 三方系统的操作回调 url
     */
    @JSONField(name = "action_callback_url")
    private String actionCallbackUrl;
    /**
     * 回调时带的 token
     */
    @JSONField(name = "action_callback_token")
    private String actionCallbackToken;
    /**
     * 回调时带的 token
     */
    @JSONField(name = "action_callback_key")
    private String actionCallbackKey;
    /**
     * 是否支持批量审批
     */
    @JSONField(name = "allow_batch_operate")
    private boolean allowBatchOperate;
    /**
     * 审批流程数据是否不纳入效率统计
     */
    @JSONField(name = "exclude_efficiency_statistics")
    private boolean excludeEfficiencyStatistics;
}
